www.gusucode.com > 6KBBS ASP版 V7.1 > 6KBBS ASP版 V7.1\code\bbs\admin\Index.asp

    <!--#include file="AdminConn.asp"--><!--#include file="../inc/md5.asp"-->
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title>论坛管理</title>
</head><%
dim lgname,lgpwd,lgpwdmd5
lgname=replace(session(prefix&"adlgname"),"'","")
lgpwd=replace(session(prefix&"adlgpwd"),"'","")
if isnull(lgname) or lgname="" or isnull(lgpwd) or lgpwd="" then
response.redirect"admincheck.asp"
else
lgpwdmd5=md5(lgpwd)
if conn.execute("select top 1 bd from admin where name='"&lgname&"' and password='"&lgpwdmd5&"' and bd=0").eof then
response.redirect"admincheck.asp"
else
end if
end if
%>
<html>

<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<title>后台管理</title>
</head>

<frameset rows="50,*" framespacing="0" border="0" frameborder="0">
	<frame name="banner" scrolling="no" noresize target="contents" src="Top.asp" marginwidth="0" marginheight="0">
	<frameset cols="182,*">
		<frame name="left" id="left" target="main" src="Left.asp" scrolling="yes" marginwidth="0" marginheight="0">
		<frame name="right" src="AdminFso.asp" scrolling="yes" marginwidth="0" marginheight="0">
	</frameset>
	<noframes>
	<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">

	<p>此网页使用了框架,但您的浏览器不支持框架。</p>

	</body>
	</noframes>
</frameset>

</html>